package example;

public class Book {
    private String id,name;
    private  Double price;

 public Book(String id, String name, Double price) {
     this.id = id;
     this.name = name;
     this.price = price;
 }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
